namespace DinoUI
{
	struct Event
	{
		int parameter;
	};

	// interface for objects that can accept events
	class IEventAcceptor
	{
	public:
		virtual void AcceptEvent(Event evt) = 0;
	};

	// common class for all widgets
	class Widget: public IEventAcceptor
	{
		// position of the widget
		int x;
		int y;

	public:
		Widget() { x = 0; y = 0; }

		//
		
	};


	// button widget class
	class Button: public Widget
	{
	public:
		Button() {}

		// delegate
		void onClick();
	}
}